package com.groupfive.mapper;

import com.groupfive.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptMapper {

    List<Dept> selectAll(Dept dept);

    Dept selectById(Long id);

    int insert(Dept dept);

    int update(Dept dept);

    int deleteById(Long id);

    Dept selectByName(String name);
}
